#ifndef _USER_VAR_H
#define _USER_VAR_H

#ifdef __cplusplus
extern "C" {
#endif

#include "user_macro.h"
#include "user_struct.h"

// BLE
extern ble_send_flag_t ble_send_flag;
extern ble_recv_flag_t ble_recv_flag;

// MQTT
extern mqtt_send_flag_t mqtt_send_flag;
extern mqtt_recv_flag_t mqtt_recv_flag;
extern mqtt_info_flag_t mqtt_info_flag;

// UART
extern uart_send_flag_t uart_send_flag;
extern uart_recv_flag_t uart_recv_flag;

// device status
extern device_status_t device_status;

// WIFI
extern wifi_info_flag_t wifi_info_flag;

// AHT20
extern aht20_flag_t aht20_flag;


extern uint32_t tick;

#ifdef __cplusplus
} /* extern "C" */
#endif

#endif